All Databases
Inside Mac - Index
mask
Cursor
structure
#include <
Quickdraw.h
>
typedef struct
Cursor
{
Size Offset Description
Bits16 data; 32 0 16 x 16 bits defines cursor visible
shape
Bits16 mask; 32 32 16 x 16 bits defines area to mask
Point
hotSpot; 4 64 Part of the cursor which selects
}
Cursor
; 68
typedef
short
Bits16
[16]; [TOKEN:18017]ncy name for a 32-byte data area
typedef Cursor
*CursPtr
;
typedef Cursor
** CursHandle
;
Notes: See
Standard Cursors
for a graphic depiction of various cursors.
The cursor is defined as the contents of two 16 by 16 rectangles. When
drawn, the mask is XORed at the current location (clearing out anything behind
the bits) and the data is ORed:
This Cursor structure is used in calls to ‹GetCursor
and
‹SetCursor
. Resources of type 'CURS' contain data in this
format.
The Quickdraw global variable ›arrow
defines the standard
left-leaning arrow cursor. Other standard cursors are in
the system resource file.
Referenced by (181):
Animated Cursor
Standard Resource Types
TopMapHndl
Types.h
Using Quickdraw Globals in an INIT
watchCursor
yellowColor
September 90 - Assertions in MacApp (Frameworks Archive)
Color QuickDraw (Inside Mac - Index)
Device Control Entry (Inside Mac - Index)
Finder Interface (Inside Mac - Index)
MachineLocation (Inside Mac - Index)
Operating System Event Manager (Inside Mac - Index)
Sad Mac Error Codes (Inside Mac - Index)
Standard Resource Types (Inside Mac - Index)
VIA (Inside Mac - Index)
crsrXValid (Inside Mac - Index)
fillByte (Inside Mac - Index)
gdType (Inside Mac - Index)
iconPMap (Inside Mac - Index)
scUnused (Inside Mac - Index)
spTBMask (Inside Mac - Index)
timeoutInTicks (Inside Mac - Index)
ttSelectedOpen (Inside Mac - Index)
undoCmd (Inside Mac - Index)
updateEvt (Inside Mac - Index)
updateMask (Inside Mac - Index)
waveTableSynth (Inside Mac - Index)
yellowColor (Inside Mac - Index)
About the Device Manager (Inside Mac - Basic Toolbox)
About the Event Manager (Inside Mac - Basic Toolbox)
Application Resource Types (Inside Mac - Basic Toolbox)
BitAnd (Inside Mac - Basic Toolbox)
CalcCMask (Inside Mac - Basic Toolbox)
CalcMask (Inside Mac - Basic Toolbox)
Color Design for System 7.0 (Inside Mac - Basic Toolbox)
CopyBits (Inside Mac - Basic Toolbox)
CopyDeepMask (Inside Mac - Basic Toolbox)
CopyMask (Inside Mac - Basic Toolbox)
Creating Offscreen Bitmaps (Inside Mac - Basic Toolbox)
Drawing Icons (Inside Mac - Basic Toolbox)
DriveStatus (Inside Mac - Basic Toolbox)
EventAvail (Inside Mac - Basic Toolbox)
FlushEvents (Inside Mac - Basic Toolbox)
GetKeys (Inside Mac - Basic Toolbox)
GetNextEvent (Inside Mac - Basic Toolbox)
GetOSEvent (Inside Mac - Basic Toolbox)
Icon Resources (Inside Mac - Basic Toolbox)
IconIDToRgn (Inside Mac - Basic Toolbox)
IconSuiteToRgn (Inside Mac - Basic Toolbox)
Keyboard Events (Inside Mac - Basic Toolbox)
Manipulating Pixel Map Images (Inside Mac - Basic Toolbox)
OSEventAvail (Inside Mac - Basic Toolbox)
PBDTAddIconSync (Inside Mac - Basic Toolbox)
PBDTGetIconSync (Inside Mac - Basic Toolbox)
PlotCIcon (Inside Mac - Basic Toolbox)
PlotCIconHandle (Inside Mac - Basic Toolbox)
PlotIconID (Inside Mac - Basic Toolbox)
PlotIconSuite (Inside Mac - Basic Toolbox)
PtInIconID (Inside Mac - Basic Toolbox)
PtInIconSuite (Inside Mac - Basic Toolbox)
Receiving Low-Level Events (Inside Mac - Basic Toolbox)
RectInIconID (Inside Mac - Basic Toolbox)
RectInIconSuite (Inside Mac - Basic Toolbox)
SeedCFill (Inside Mac - Basic Toolbox)
SeedFill (Inside Mac - Basic Toolbox)
SetEventMask (Inside Mac - Basic Toolbox)
ShutDwnInstall (Inside Mac - Basic Toolbox)
StdBits (Inside Mac - Basic Toolbox)
WaitNextEvent (Inside Mac - Basic Toolbox)
icon suites (Inside Mac - Basic Toolbox)
useTextEditServices (Inside Mac - Basic Toolbox)
SGetTypeSRsrc (Inside Mac - DAM-Ed-PPC-Slot)
SNextTypeSRsrc (Inside Mac - DAM-Ed-PPC-Slot)
Getting and Setting Sound Input Device Information (Inside Mac - Sound Mgr)
Key Caps and the 'KCAP' resource (Inside Mac - WWSO Mgr)
Localizing to Other Languages and Regions (Inside Mac - WWSO Mgr)
Verbs for GetScript and SetScript (Inside Mac - WWSO Mgr)
Assembler Intro (MacTech Vol 01-1984-5)
Constructing Apps (MacTech Vol 01-1984-5)
Cursor Editing (MacTech Vol 01-1984-5)
DAs in C (MacTech Vol 01-1984-5)
Icon Creations (MacTech Vol 01-1984-5)
MacPaint files (MacTech Vol 01-1984-5)
PICT Rotation (MacTech Vol 01-1984-5)
BitNapper (MacTech Vol 02-1986)
Button DA (MacTech Vol 02-1986)
CMD-Shift-3 (MacTech Vol 02-1986)
Jul 86 Mousehole (MacTech Vol 02-1986)
Keyboard Sleuth (MacTech Vol 02-1986)
Launch Doc (MacTech Vol 02-1986)
MacNosy (MacTech Vol 02-1986)
Nov 86 Letters (MacTech Vol 02-1986)
Structures, Event Loop (MacTech Vol 02-1986)
Typecasting (MacTech Vol 02-1986)
XModem Transfer (MacTech Vol 02-1986)
Aug 87 Mousehole (MacTech Vol 03-1987)
Events in ZBASIC (MacTech Vol 03-1987)
Forth DA (MacTech Vol 03-1987)
MacHack 87 (MacTech Vol 03-1987)
Monkey CDEV (MacTech Vol 03-1987)
Printer Driver (MacTech Vol 03-1987)
Sep 87 Letters (MacTech Vol 03-1987)
System File (MacTech Vol 03-1987)
Hertzfeld (MacTech Vol 04-1988)
IAC Driver 2 (MacTech Vol 04-1988)
Modifying SCSI (MacTech Vol 04-1988)
Reminder DA (MacTech Vol 04-1988)
CDEF Messages (MacTech Vol 05-1989)
Convert Pict2Rgn (MacTech Vol 05-1989)
Doodats (MacTech Vol 05-1989)
Hourglass (MacTech Vol 05-1989)
Icon Capture (MacTech Vol 05-1989)
Jun 89 Mousehole (MacTech Vol 05-1989)
Oct 89 Mousehole (MacTech Vol 05-1989)
Paint Tools (MacTech Vol 05-1989)
Real-time Driver (MacTech Vol 05-1989)
System CDEV (MacTech Vol 05-1989)
Extend Modal Dialog (MacTech Vol 06-1990)
HeapLister(code) (MacTech Vol 06-1990)
LS FORTRAN 2.1, Forth (MacTech Vol 06-1990)
MultiFinder Icon Fix (MacTech Vol 06-1990)
Safe Dissolve (MacTech Vol 06-1990)
cdev Debugging (MacTech Vol 06-1990)
Aug 91 Letters (MacTech Vol 07-1991)
Kolorize (MacTech Vol 07-1991)
NonStandard File (MacTech Vol 07-1991)
OOP Code Resources (MacTech Vol 07-1991)
Prog Assistants (MacTech Vol 07-1991)
Radix Sort (MacTech Vol 07-1991)
Xtrap Debugger (MacTech Vol 07-1991)
History of Icons (MacTech Vol 08-1992)
Icon Mania (MacTech Vol 08-1992)
SuperPaint Plug-in (MacTech Vol 08-1992)
Virus Detection (MacTech Vol 08-1992)
AppleEvents 101 (MacTech Vol 09-1993)
Finder Strings (MacTech Vol 09-1993)
FutureBASIC (MacTech Vol 09-1993)
Jun 93 Challenge (MacTech Vol 09-1993)
May 93 Tips, Tidbits (MacTech Vol 09-1993)
Books (MacTech Vol 10-1994)
Nov 94 Challenge (MacTech Vol 10-1994)
Nov 94 Dialog Box (MacTech Vol 10-1994)
Jun 95 Tips (MacTech Vol 11-1995)
May 95 Tips (MacTech Vol 11-1995)
Nov 96 Challenge (MacTech Vol 12-1996)
Dec 97 Challenge (MacTech Vol 13-1997)
Feb 97 Challenge (MacTech Vol 13-1997)
Fixed-Point Math Speed (MacTech Vol 13-1997)
LaserWriter CopyBits Support (MacTech Vol 13-1997)
QD Antialiasing Techniques (MacTech Vol 13-1997)
Sep 97 Challenge (MacTech Vol 13-1997)
A Tour of SpriteWorld (MacTech Vol 14-1998)
BBEdit Plug-In Programming (MacTech Vol 14-1998)
Fast Square Root Calc (MacTech Vol 14-1998)
Jan 98 Challenge (MacTech Vol 14-1998)
Mar 98 - Tips (MacTech Vol 14-1998)
Apr 99 Tips (MacTech Vol 15-1999)
Fast Blit Strategies (MacTech Vol 15-1999)
Icon Services In Apps (MacTech Vol 15-1999)
Mac Net Manage 101 (MacTech Vol 15-1999)
Photoshop Plug-Ins Part 2 (MacTech Vol 15-1999)
Feb 00 Getting Started (MacTech Vol 16-2000)
Installing Mac OS 9 (MacTech Vol 16-2000)
Mar 00 Challenge (MacTech Vol 16-2000)
Mar 00 Getting Started (MacTech Vol 16-2000)
Multihoming Using BGP (MacTech Vol 17-2001)
January 90 - MACINTOSH Q & A (develop - 1990)
January 90 - REALISTIC COLOR FOR REAL-WORLD APPLICATIONS (develop - 1990)
Autumn 91 - A2 Q&A (develop - 1991)
Summer 91 - QUICKTIME 1.0: "YOU OUGHTA BE IN PICTURES" (develop - 1991)
December 92 - MACINTOSH Q & A (develop - 1992)
December 93 - THE VETERAN NEOPHYTE (develop - 1993)
June 93 - MACINTOSH Q & A (develop - 1993)
June 94 - Letters (develop - 1994)
March 94 - DEBUGGING ON POWERPC (develop - 1994)
March 94 - MACINTOSH Q & A (develop - 1994)
March 95 - Balance of Power: Introducing PowerPC Assembly Language (develop - 1995)
March 95 - Macintosh Q & A (develop - 1995)
September 95 - KON & BAL's Puzzle Page: Video Nightmare (develop - 1995)
September 96 - Editor's Note (develop - 1996)